import Vue from 'vue'
import App from './App'

//导入路由
import router from "./router";

//导入饿了么UI
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

//引入axios
import axios from "axios";
import VueAxios from 'vue-axios';

//安装
Vue.use(router);
Vue.use(ElementUI);
Vue.use(VueAxios,axios);

Vue.config.productionTip = false

new Vue({
  el: '#app',
  components: { App },
  template: '<App/>',
  //配置路由
  router,
  //ElementUI
  render:h=>h(App)
})
